package com.hyperfix.models.washer.vos;

import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

/**
 * @author JiangChunYu
 * 2024/4/22
 */

@Data
public class TeamVO {
    @NotNull(message = "井队编号不能为空")
    private Integer id;
    private String name;
    private String leader;
    @Pattern(message = "请输入11位正确的电话号码", regexp = "^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\\d{8}$")
    private String contactNumber;
    private String description;
}
